var SERIALLIST = function(parentNode){
	var wrapper =   '<div class="seriallist-wrapper">'+
						'<ul>'+
						'</ul>'+
					'</div>'+
	parentNode.insertAdjacentHTML(beforeEnd,wrapper);
	this.wrapper = parentNode.querySelector("seriallist-wrapper");
}

SERIALLIST.prototype.addFolder = function(name, parentNode){
	var span = document.createElement("span");
	span.textContent = name;
	parentNode.appendChild(span);

	var ul = document.createElement("ul");
	ul.className = "serialList-folder";
	parentNode.appendChild(ul);
	return ul;
}
SERIALLIST.prototype.addFile = function(name, parentNode){
	var li = document.createElement("li");
	li.className = "serialList-file";
	parentNode.appendChild(li);
	return li;
}
SERIALLIST.prototype.deleteFolder = function(node){

}
SERIALLIST.prototype.deleteFile = function(node){

}
SERIALLIST.prototype.expandFolder = function(node){

}
SERIALLIST.prototype.closeFolder = function(node){

}